<%--
  Created by IntelliJ IDEA.
  User: hadoop
  Date: 17-6-22
  Time: 下午3:18
  用于测试struts的类型转换conversion
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>Convert</title>
</head>
<s:head/><!--自带了一些css样式-->
<body>
<div align="center">
    <s:form action="convert" method="POST" validate="true">
        <%--<s:fielderror/>--%>
        <s:textfield label="名字" labelposition="left" name="user.name" value=""/>
        <s:textfield label="密码" labelposition="left" name="user.pass" value=""/>
        <s:submit value="转换"/>
    </s:form>

</div>
</body>
</html>
